﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CourseAbsenceReport.aspx.cs" Inherits="Corsat.Web.CourseAbsenceReport" %>

<%@ Register Assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="formScriptManager" runat="server">
    </asp:ScriptManager>
    <div>
    
        <asp:Panel ID="pnlChooseCourse" runat="server" GroupingText="إختيار كورس" Font-Bold="False"
            Font-Size="Large" Direction="RightToLeft">
        <asp:UpdatePanel ID="uPnlAccount" runat="server">
            <ContentTemplate>
                <table align="center" style="width: 1000px; font-size: x-large; font-weight: bold;
                    direction: rtl;">
                    <tr>
                        <td colspan="4" align="center">
                            <asp:Label ID="lblHeader" runat="server" Text="course" Font-Bold="True" Font-Size="XX-Large"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 10%; text-align: left;">
                            <asp:Label ID="lblCourseName" runat="server" Text="الكورس"></asp:Label>
                        </td>
                        <td style="width: 40%">
                            <asp:DropDownList ID="ddlCourseNames" runat="server" Width="100%" OnSelectedIndexChanged="ddlCourseNames_SelectedIndexChanged"
                                AutoPostBack="true" Style="font-size: large; margin-right: 0px">
                            </asp:DropDownList>
                        </td>
                        <td style="width: 40%">
                            <asp:UpdatePanel ID="upCourseLevels" runat="server">
                                <ContentTemplate>
                                    <asp:Panel ID="pnlCourseLevels" runat="server" GroupingText="المستوى">
                                        <asp:RadioButtonList ID="rdoLevel" runat="server" RepeatLayout="Flow" RepeatDirection="Vertical">
                                        </asp:RadioButtonList>
                                    </asp:Panel>
                                </ContentTemplate>
                                <Triggers>
                                    <asp:AsyncPostBackTrigger ControlID="ddlCourseNames" EventName="SelectedIndexChanged" />
                                </Triggers>
                            </asp:UpdatePanel>
                        </td>
                        <td style="width: 10%">
                        <asp:LinkButton runat="server" ID="lnkSearch"  Text="بحث" OnClick="LnkSearch_Clicked"/>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4" align="center">  
                            <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" 
                                AutoDataBind="true" ToolPanelView="None" />
                         </td>
                    </tr>
                </table>
            </ContentTemplate>
        </asp:UpdatePanel>

        </asp:Panel>
    </div>
    </form>
</body>
</html>